package com.homework.homework1;

import java.util.ArrayList;

public class Test04 {
    public static void main(String[] args) {
        ArrayList<String> objects = new ArrayList<>();
        objects.add("xiaomi6");
        objects.add("xiaomi1");
        objects.add("xiaomi2");
        objects.add("xiaomi5");
        objects.add("xiaomi3");
        for (String object : objects) {
            System.out.println(object+" ");
        }
    }
}
